package org.example.data;

public class Account {
    private Integer id;//编号
    private String date;//日期
    private String type;//类型
    private String content;//内容
    private Double amount;//金额

    public Account() {
    }

    public Account(Integer id, String date, String type, String content, Double amount) {
        this.id = id;
        this.date = date;
        this.type = type;
        this.content = content;
        this.amount = amount;
    }

    public Account(String date, String type, String content, Double amount) {
        this.date = date;
        this.type = type;
        this.content = content;
        this.amount = amount;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }
}
